package com.cyss.greenball.main;

import com.cyss.greenball.view.WorldView;
import com.lianzt.commondata.AbstractCommonData;
import com.lianzt.commondata.DataConvertFactory;
import com.lianzt.exception.InstanceDataException;
import android.content.Intent;
import android.os.Bundle;

public class WorldActivity extends BaseActivity {
	private int nowMission = 0;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Intent intent = this.getIntent();
		this.nowMission = intent.getIntExtra("nowMission", 0);
		AbstractCommonData acdGame = null;
		try {
			 acdGame = DataConvertFactory.getInstance(intent.getStringExtra("acdGame"));
		} catch (Exception e) {
		}
		WorldView wv = new WorldView(this, super.handler, this.nowMission, acdGame);
		setContentView(wv);
	}

	@Override
	protected void init() {
		
	}

	@Override
	protected void setOnListener() {
		
	}
}